<template>
  <div class="amend">
    <van-nav-bar title="修改地址" left-arrow @click-left="onClickLeft" />
    <Info :id="Number(this.$route.query.id)" />
  </div>
</template>

<script>
import Info from "../../components/lsc/info.vue";

export default {
  components: { Info },
  methods: {
    onClickLeft() {
      this.$router.push("/address");
    },
  },
  created() {
    console.log("this.$route.query.id", Number(this.$route.query.id));
  },
};
</script>

<style scoped>
/deep/.van-nav-bar {
  background-color: #f5f5f5;
}
/deep/.van-nav-bar .van-icon {
  color: gray;
}

/deep/.van-switch--on {
  background-color: #6d87c4;
}
/deep/.van-button--round {
  background-color: #6d87c4;
  border: none;
}
.amend {
  width: 100%;
  min-height: 6.4rem;
  background-color: #f5f5f5;
}
</style>